package com.hyst.repository;

import com.hyst.domain.RecommendMsg;

import io.swagger.models.auth.In;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface RecommendMsgMapper extends Mapper<RecommendMsg> {
	int saveAwardData(RecommendMsg message);
	int saveSubstractData(RecommendMsg message);

	Integer getStatus(String studentId);

	List<String> getStausfree(String studentId);

	List<String> getStatusFukuan(String studentId);

	List<RecommendMsg> getAll(String recommenderId);

    void saveStatus(RecommendMsg recommendMsg);

    Integer getCountJiang(String studentId);

    Integer getNoCountJiang(String studentId);

    void updateStatus(Map map);
}
